package com.neuedu.springmvc.controller;

import com.neuedu.springmvc.po.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 金山
 * 项目：springmvc-learn
 * site: https://blog.fulfill.com.cn
 * 描述
 * @data 2025/3/188:56
 */
@RestController
@RequestMapping("/date")
public class DateController {


    /***
     // *  http://localhost:8080/web/date/getDate?username=admin&birthday=2025-03-18 08:59:05
     // *  http://localhost:8080/web/date/getDate?username=admin&birthday=2025/03/18 08:59:05
     // *  http://localhost:8080/web/date/getDate?username=admin&birthday=08:59:05 2025/03/18
     * @param user
     * @return
     */
    @RequestMapping("/getDate")
    public String getDate(User user){

        return  user.toString();

    }





}
